<!-- /pages/webview/webview.vue -->
<template>
  <view class="container">
     <web-view :src="url"></web-view>
   </view>
</template>
 
<script>
export default {
  data() {
    return {
      url: ''
    };
  },
  onLoad(option) {
    // 接收传递过来的URL参数
	console.log('url',option.url)
	console.log('url',decodeURIComponent(option.url))
	 this.url =decodeURIComponent(option.url);
    // this.url ='https://culture.hnbxwhy.com/yh/#/pages/resource/soundDetails_1?id=50';
  }
}
</script>
